package com.zxm.ex.common.exception;

import lombok.Data;

/**
 * 自定义异常
 */
@Data
public class BackendException extends Exception {

    private int code;
    private String msg;

    public BackendException(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
